#include <iostream>
#include <string>
#include <tuple>
 
template <class T>
std::tuple<bool, std::string> testStructBinding(const T& doc) {
 
  if (doc){
    return {true, std::string("doc is true")};
  } else {
    return {false, std::string("doc is false")};
  }
}
 
int main(){
  bool doc = false;
  auto[testFlag, description] = testStructBinding(doc);
  std::cout << "testFlag: " << testFlag << " description: " << description << std::endl;
  return 0;
}
